<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

<?php 
	$user_id = $this->input->post('user_id',TRUE);
?> 
<form action="<?php echo site_url('agent/async/submit_send_message');?>" name="submit_send_message" id="submit_send_message" method="post" enctype="multipart/form-data" >		
<div id="wrap-delete-item">	
	
	<div class="dashboard-info-wrapper">
		<div class="dashboard-info-left" style="width:100px;">
			<span>
				<?php echo language_translate('send_message_lable');?>
			</span>
		</div>		
		<div class="dashboard-info-right" style="width:360px;">
			<textarea id="message_textarea" name="message_textarea" style="width:350px;height:200px"></textarea>
		</div>
		<div class="clear"></div>	
	</div>

	<div class="dashboard-info-wrapper">
		<div class="dashboard-info-left">
			&nbsp;
		</div>
		<div class="dashboard-info-right"> 
			<div class="select-box">
				<input type="submit" class="save-button" value="<?php echo language_translate('message_send_button');?>" /> 
				<?php echo loader_image("class='loading_update_image hidden'");?>
			</div>
		 </div>
		<div class="clear"></div>
	</div>	 
</div>

<div class="dashboard-info-wrapper">
	<div id="update-message" class="message-status"><?php echo language_translate('message_send_successfully_message');?></div>
	<div class="clear"></div>
</div>

<input type="hidden" value="<?php echo $user_id;?>" id="user_id" name="user_id" />
</form>